package com.example.hemin.fnb.ui.net;

import com.example.hemin.fnb.ui.bean.BaseObjectBean;
import com.example.hemin.fnb.ui.bean.ClassListBean;

import java.util.Map;

import io.reactivex.Flowable;
import io.reactivex.Observable;
import retrofit2.http.GET;
import retrofit2.http.HeaderMap;
import retrofit2.http.Path;

public interface TextApi {
    /**
     * 课堂详情
     * */
    @GET("/app/magazine/infoClassroom/{classroomId}")
    Observable getClassMessage(@HeaderMap Map<String,String> heard, @Path("classroomId") long classroomId);

    /**
     * 课堂
     * */
    @GET("/app/magazine/listClassroom/{current}/{size}")
    Observable getListClass(@HeaderMap Map<String,String> heard, @Path("current") long current, @Path("size") long sitze);
}
